import {uuid} from './generateUtil'

class BaseCustomLayer {
    constructor() {
      this.id = uuid();
      this.type = 'custom';
      this.renderingMode = '2d';
    }
  
    onAdd(map, gl) {
      this.map = map;
      this.gl = gl;
  
    }
  
    render(gl, matrix) {
      
    }
    onRemove(map, gl) {

    }
  }

  export default BaseCustomLayer;
  